<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Uploading the Kubernetes Image Package to the Kubernetes Cluster">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002164749858.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000002199990853">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Uploading the Kubernetes Image Package to the Kubernetes Cluster</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000002199990853"></a><a name="EN-US_TOPIC_0000002199990853"></a>

<h1 class="topictitle1">Uploading the Kubernetes Image Package to the Kubernetes Cluster</h1>
<div><p>This section uses Kubernetes 1.23 as an example to describe how to upload the Kubernetes image package to the Kubernetes cluster. The operations may vary depending on the version. If you have an image repository, you can also upload images to the image repository.</p>
<div class="section"><h4 class="sectiontitle">Prerequisites</h4><p id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_en-us_topic_0000002199956421_p155091416131516">Before uploading the Kubernetes image package, query the version on the <span id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_en-us_topic_0000002199956421_text177672018144616">OceanProtect</span> WebUI, download the <strong id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_en-us_topic_0000002199956421_b7767121815466">OceanProtect_DataProtect</strong><em id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_en-us_topic_0000002199956421_i1976717188463">_X.X.X_</em><strong id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_en-us_topic_0000002199956421_b1976718181463">K8s_BackupImage.tgz</strong> installation package based on the queried version, and decompress the installation package to obtain the <strong id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_en-us_topic_0000002199956421_b14768151814619">k8s_backup_image_x86.tar</strong> or <strong id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_en-us_topic_0000002199956421_b2768518104611">k8s_backup_image_arm64.tar</strong> image package. To obtain the installation package:</p>
<ul id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_en-us_topic_0000002199956421_ul1470191016457"><li id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_en-us_topic_0000002199956421_li12701151074511">For enterprise users: <a href="https://support.huawei.com/enterprise/en/flash-storage/oceanprotect-databackup-pid-258115661/software/" target="_blank" rel="noopener noreferrer">Click here</a>.</li><li id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_en-us_topic_0000002199956421_li8194016184520">For carrier users: <a href="https://support.huawei.com/carrier/navi?coltype=software#col=software&amp;path=PBI1-21430725/PBI1-251363742/PBI1-250389226/PBI1-251366310/PBI1-258115661" target="_blank" rel="noopener noreferrer">Click here</a>.</li></ul>
<div class="note" id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_note6710171014395"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><div class="p" id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_p8557192519583">You can query the version in the following way:<ol id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_ol1134712489218"><li id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_li858118598213">Click <span><img id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_image1458902641019" src="en-us_image_0000002204920450.png"></span> in the upper right corner and choose <span id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_text1501142871111"><strong>About</strong></span>.<p id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_p99764566169">In the dialog box that is displayed, the version is displayed in the line where <span id="EN-US_TOPIC_0000002199990853__en-us_topic_0000002164749710_text8170123961415"><strong>Version</strong></span> is located.</p>
</li></ol>
</div>
</div></div>
</div>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li id="EN-US_TOPIC_0000002199990853__li4531195619401"><a name="EN-US_TOPIC_0000002199990853__li4531195619401"></a><a name="li4531195619401"></a><span>Log in to any node in the Kubernetes cluster and upload the installation package to the node.</span></li><li><span>Go to the installation package path and run the following command to decompress the installation package to obtain the <strong>k8s_backup_image_x86.tar</strong> or <strong>k8s_backup_image_arm64.tar</strong> image package:</span><p><pre class="screen">tar -xvzf <em>OceanProtect_DataProtect</em><em>_X.X.X_</em><em>K8s_BackupImage.tgz</em></pre>
</p></li><li id="EN-US_TOPIC_0000002199990853__li164691476581"><a name="EN-US_TOPIC_0000002199990853__li164691476581"></a><a name="li164691476581"></a><span>Go to the image package path and run the following command to upload the image package to the Kubernetes cluster node. In this example, the <strong>k8s_backup_image_x86.tar</strong> image package is used. For the Arm architecture, upload the corresponding image package.</span><p><pre class="screen">ctr -n k8s.io i import <em>k8s_backup_image_x86.tar</em> </pre>
</p></li><li><span>Repeat <a href="#EN-US_TOPIC_0000002199990853__li4531195619401">1</a> to <a href="#EN-US_TOPIC_0000002199990853__li164691476581">3</a> to upload the Kubernetes image package to other cluster nodes.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000002164749858.html">Preparing for Backup (Applicable to Native Kubernetes)</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>